
import request from '@/utils/request'

export function equipmentList (data) {
  return request({
    url: '/api/qixing/equipment/list',
    method: 'post',
    data
  })
}
export function equipmentBlist (data) {
  return request({
    url: '/api/qixing/equipment/blist',
    method: 'post',
    data
  })
}
export function unbundling (data) {
  return request({
    url: '/api/qixing/equipment/unbundling',
    method: 'post',
    data
  })
}
export function removebundling (data) {
  return request({
    url: '/api/qixing/equipment/removebundling',
    method: 'post',
    data
  })
}
export function bdetail (data) {
  return request({
    url: '/api/qixing/equipment/bdetail',
    method: 'post',
    data
  })
}
export function rename (data) {
  return request({
    url: '/api/qixing/equipment/rename',
    method: 'post',
    data
  })
}
export function toTryride (data) {
  return request({
    url: '/api/qixing/cycling/tryrideInfo?status=' + data,
    method: 'get'
  })
}
export function acceptTryride (data) {
  return request({
    url: '/api/qixing/cycling/acceptTryride?id=' + data,
    method: 'get'
  })
}
export function refusedTryride (data) {
  return request({
    url: '/api/qixing/cycling/refusedTryride?id=' + data,
    method: 'get'
  })
}
export function endTryride (data) {
  return request({
    url: '/api/qixing/cycling/endTryride?id=' + data,
    method: 'get'
  })
}
export function cyclingDetail (data) {
  return request({
    url: '/api/qixing/cycling/cyclingDetail',
    method: 'post',
    data
  })
}
export function cyclingRecordDel (data) {
  return request({
    url: '/api/qixing/cycling/cyclingRecordDel',
    method: 'post',
    data
  })
}
export function resetMileage (data) {
  return request({
    url: '/api/qixing/cycling/resetMileage',
    method: 'post',
    data
  })
}
export function drivceList (data) {
  return request({
    url: '/api/qixing/cycling/list',
    method: 'post',
    data
  })
}
export function drivceHealthData (data) {
  return request({
    url: '/api/qixing/user/healthData',
    method: 'post',
    data
  })
}
export function tryrideEvaluation (data) {
  return request({
    url: '/api/qixing/cycling/tryrideEvaluation',
    method: 'post',
    data
  })
}
export function tryrideAgreement () {
  return request({
    url: '/api/qixing/cycling/tryrideAgreement',
    method: 'get'
  })
}
export function bindingdefault (data) {
  return request({
    url: '/api/qixing/equipment/bindingdefault',
    method: 'post',
    data
  })
}
export function userInfoCenter (data) {
  return request({
    url: '/api/qixing/user/center',
    method: 'post',
    data
  })
}
export function cyclingDel (data) {
  return request({
    url: '/api/qixing/cycling/cyclingDel',
    method: 'post',
    data
  })
}
